package com.qijian.maindata.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 工序工单检验项对象 main_process_order_check
 *
 * @author qijian
 * @date 2022-05-09
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_process_order_check")
public class ProcessOrderCheck extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "工单明细")
    private Long wuId;

    @Excel(name = "工单")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "工单")
    private Long workId;

    @Excel(name = "项目")
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "项目")
    private Long projectId;

    @Excel(name = "检验内容")
    @ApiModelProperty(value = "检验内容")
    private String checkContent;

    @Excel(name = "是否合格")
    @ApiModelProperty(value = "是否合格")
    private Boolean isQualified;

}
